home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / Dylan Related / Mindy / Mindy 1.2 - portable sources / comp / sym.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-15  |  3.0 KB  |  87 lines  |  [TEXT/ttxt]

  1. /**********************************************************************\
  2. *
  3. *  Copyright (c) 1994  Carnegie Mellon University
  4. *  All rights reserved.
  5. *  
  6. *  Use and copying of this software and preparation of derivative
  7. *  works based on this software are permitted, including commercial
  8. *  use, provided that the following conditions are observed:
  9. *  
  10. *  1. This copyright notice must be retained in full on any copies
  11. *     and on appropriate parts of any derivative works.
  12. *  2. Documentation (paper or online) accompanying any system that
  13. *     incorporates this software, or any part of it, must acknowledge
  14. *     the contribution of the Gwydion Project at Carnegie Mellon
  15. *     University.
  16. *  
  17. *  This software is made available "as is".  Neither the authors nor
  18. *  Carnegie Mellon University make any warranty about the software,
  19. *  its performance, or its conformity to any specification.
  20. *  
  21. *  Bug reports, questions, comments, and suggestions should be sent by
  22. *  E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
  23. *
  24. ***********************************************************************
  25. *
  26. * $Header: sym.h,v 1.7 94/10/05 20:56:12 nkramer Exp $
  27. *
  28. \**********************************************************************/
  29.  
  30.  
  31. struct symbol {
  32.     unsigned hash;
  33.     struct symbol *next;
  34.     int handle;
  35.     unsigned char name[1];
  36. };
  37.  
  38. extern struct symbol *symbol(char *name);
  39. extern struct symbol *gensym(void);
  40.  
  41. extern void init_sym_table(void);
  42.  
  43. extern struct symbol *sym_DefineClass1;
  44. extern struct symbol *sym_DefineClass2;
  45. extern struct symbol *sym_DefineGeneric;
  46. extern struct symbol *sym_DefineMethod;
  47. extern struct symbol *sym_DefineSlot;
  48. extern struct symbol *sym_Or;
  49. extern struct symbol *sym_Plus;
  50. extern struct symbol *sym_Less;
  51. extern struct symbol *sym_LessEqual;
  52. extern struct symbol *sym_Object;
  53. extern struct symbol *sym_Type;
  54. extern struct symbol *sym_Eq;
  55. extern struct symbol *sym_DylanUser;
  56. extern struct symbol *sym_Apply;
  57. extern struct symbol *sym_Aref;
  58. extern struct symbol *sym_Catch;
  59. extern struct symbol *sym_CheckType;
  60. extern struct symbol *sym_Class;
  61. extern struct symbol *sym_Constant;
  62. extern struct symbol *sym_Do;
  63. extern struct symbol *sym_Element;
  64. extern struct symbol *sym_Error;
  65. extern struct symbol *sym_FindVariable;
  66. extern struct symbol *sym_ForwardIterationProtocol;
  67. extern struct symbol *sym_Getter;
  68. extern struct symbol *sym_InitVariable;
  69. extern struct symbol *sym_Instance;
  70. extern struct symbol *sym_List;
  71. extern struct symbol *sym_MakeInherited;
  72. extern struct symbol *sym_MakeInitarg;
  73. extern struct symbol *sym_MakeNextMethodFunction;
  74. extern struct symbol *sym_MakeSlot;
  75. extern struct symbol *sym_Negative;
  76. extern struct symbol *sym_NegativeP;
  77. extern struct symbol *sym_NextMethod;
  78. extern struct symbol *sym_PopHandler;
  79. extern struct symbol *sym_PushHandler;
  80. extern struct symbol *sym_Setter;
  81. extern struct symbol *sym_Singleton;
  82. extern struct symbol *sym_Subclass;
  83. extern struct symbol *sym_Throw;
  84. extern struct symbol *sym_Uwp;
  85. extern struct symbol *sym_Values;
  86. extern struct symbol *sym_Virtual;
  87.